home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CColorPane.h < prev    next >
Text File  |  1993-08-27  |  709b  |  29 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CColorPane
  3. //|
  4. //| This is the interfact to a colored pane
  5. //|_________________________________________________________
  6.  
  7. #pragma once
  8.  
  9. #include <CPane.h>
  10.  
  11. CLASS CDirectorOwner;
  12.  
  13. class CColorPane : public CPane
  14.     {
  15.     
  16.     RGBColor pane_color;                //  Color to fill this pane with
  17.     
  18.   public:
  19.  
  20.     void    IColorPane(CView *anEnclosure, CBureaucrat *aSupervisor, short aWidth,
  21.                             short aHeight, short aHEncl, short aVEncl, SizingOption    aHSizing,
  22.                             SizingOption aVSizing, RGBColor *color);
  23.     void    Draw(Rect *area);
  24.     void    DoClick(Point hit, short modifierKeys, long when);
  25.     void    GetPaneColor(RGBColor *color);
  26.     void    SetPaneColor(RGBColor *color);
  27.  
  28.     };
  29.